package com.dong.service;

import com.dong.entitys.Video;
import com.dong.entitys.Video1;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface VideoService {
    List<Video> selectAllVideo();
    Video selectVieoById(Integer id);
    Integer addVideo(Video video);
    Integer updateVideo(Map map);

    Integer deleteVideo(Integer id);

    List<Video> selectVideosByConndition(Video video);

    public PageInfo videoByPage(Integer currentPage, Integer pageSize);

}
